<!--
 * @author: 十一
 * @since: 2024-04-07
 * pageHeader.vue
 * @desc: new page
-->
<template>
  <a-page-header
    class="demo-page-header"
    style="
      border-bottom: 1px solid rgb(235, 237, 240);
      padding: 0;
      padding-bottom: 5px;
      font-weight: 100;
    "
    :title="title"
    @back="() => $router.go(-1)"
  >
    <template #extra>
      <slot name="S1"></slot>
    </template>
  </a-page-header>
  <br />
</template>

<script lang="ts" setup>
defineProps(['title'])

// inject()
</script>

<style lang="less" scoped></style>
